package site.codeblog.designpattern.factory.factory_method;

public class Client {

    public static void main(String[] args) {

        CoffeeStore store = new CoffeeStore();
        store.setFactory(new BlackCoffeeFactory());
        store.orderCoffee();

        store.setFactory(new MilkCoffeeFactory());
        store.orderCoffee();

    }
}
